package com.ht.module.bus.dto.screen;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.web.multipart.MultipartFile;

import javax.validation.constraints.NotNull;

/**
 * @ProjectName: ht_screen
 * @ClassName: UploadFileDto
 * @Author: hejialun
 * @Description: 上传大屏图片dto
 * @Date: 2021/8/11 11:04
 */
@Data
public class UploadFileDto {
    @ApiModelProperty("大屏id")
    @NotNull(message = "大屏主键id不能为空")
    private String id;

    @ApiModelProperty("需上传文件")
    @NotNull(message = "上传文件不能为空")
    private MultipartFile file;
}